<template>
  <div class="box">
    <el-breadcrumb separator=">">
      <el-breadcrumb-item to="login" replace>首页</el-breadcrumb-item>
      <el-breadcrumb-item to="login/user" replace>用户管理</el-breadcrumb-item>
      <el-breadcrumb-item>用户定位</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="tableBox">
      <div class="tableTitle">用户定位</div>
      <div class="title">本页面定位暂时采用第三方定位，需要手动填入，<span class="active">请复制"所在纬度/经度"列的值,到跳转页面输入框中进行定位!!!</span></div>
      <el-table :data="tableData">
        <el-table-column type="index" label="序号" width="60" align="center"></el-table-column>
        <el-table-column prop="" label="用户编号" align="center"></el-table-column>
        <el-table-column prop="" label="用户姓名" align="center"></el-table-column>
        <el-table-column prop="" label="所在纬度/经度" align="center"></el-table-column>
        <el-table-column prop="" label="定位时间" align="center"></el-table-column>
        <el-table-column label="操作" align="center">
          <template slot-scope="data">
            <a href="http://www.gpsspg.com/maps.htm">定位</a>
          </template>
        </el-table-column>
      </el-table>
      <pagination :maxTotal="maxTotal" @handleSize="handleSizeChange" @handleCurrent="handleCurrentChange"></pagination>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import pagination from 'components/pagination'

  export default {
    name: 'userAddress',
    data () {
      return {
        maxTotal: 10,
        tableData: []
      }
    },
    created () {
    },
    methods: {
      handleSizeChange (val) {
      },
      handleCurrentChange (val) {
      }
    },
    components: {
      pagination
    }
  }
</script>

<style lang="less" ref="stylesheet/less" scoped>
  .title {
    padding: 15px 0;
    text-align: center;

    .active {
      color: red;
    }
  }
</style>
